package com.ruoyi.merchant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 救援任务管理对象 rescue_task
 * 
 * @author ysq
 * @date 2024-09-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RescueTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id编号 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uid;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long mid;

    /** 发起时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发起时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 救援类型ID */
    @Excel(name = "救援类型ID")
    private Long typeId;

    /** 当前位置/起点 */
    @Excel(name = "当前位置/起点")
    private String position;

    /** 终点 */
    @Excel(name = "终点")
    private String end;

    /** 求助人 */
    @Excel(name = "求助人")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private Long carNum;

    /** 车型 */
    @Excel(name = "车型")
    private String carType;

    /** 求助信息描述 */
    @Excel(name = "求助信息描述")
    private String description;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 删除状态 */
    private Long deleted;
}
